package com.cddx.logistics.service;

import com.cddx.logistics.domain.dto.InsuranceQueryDTO;
import com.cddx.logistics.domain.pojo.Insurance;
import com.cddx.logistics.domain.vo.InsuranceVO;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface InsuranceService {
    PageInfo<InsuranceVO> queryPage(InsuranceQueryDTO queryDTO);
    boolean add(Insurance insurance);
    boolean update(Insurance insurance);
    boolean delete(Integer id);
    boolean batchDelete(List<Integer> ids);
}